package javafoundations;

/**
 * Created by zhangyunqi on 2017/10/10.
 */
public interface Stack<T> {
    public T push (T element);

    public T pop();

    public T peek();

    public boolean isEmpty();

    public int size();

    public String toString();
}
